package com.example.yuejian11.activity;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.example.yuejian11.R;
import com.example.yuejian11.common.Url;

import butterknife.BindView;
import fm.jiecao.jcvideoplayer_lib.JCVideoPlayerStandard;

public class VideoActivity extends BaseActivity {

    @BindView(R.id.videoplayer)
    JCVideoPlayerStandard jcVideoPlayerStandard;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_video);
        super.onCreate(savedInstanceState);

        String path = getIntent().getStringExtra("path");

        jcVideoPlayerStandard.setUp(Url.imgUrl+path, JCVideoPlayerStandard.SCREEN_LAYOUT_NORMAL, "");

    }
}
